﻿@model RndMaterialDisposalService.Models.RequestModel.TemporaryProcessDocumentElectronFlowReq

@{
    Layout = "~/Pages/Shared/_EmailLayout.cshtml";
}


<div style="background-color: #B8B8B8; color: black; font-size: 11pt; font-weight: bold;">
    <div style="height: 3px; font-size: 3px; line-height: 1">&nbsp;</div>
    <p class="pfs-11">申请信息</p>
    <div style="height: 3px; font-size: 3px; line-height: 1">&nbsp;</div>
</div>
<table style="width: 100%; border-spacing: 0; border-collapse: collapse; font-family: 宋体; font-size: 10pt;">
    <tr>
        <td style="font-weight: Bold;width: 20%;">生效日期:</td>
        <td style="width: 30%;">@Model.technology.TakeEffectTime?.ToString("yyyy-MM-dd")</td>
        <td style="font-weight: Bold;width: 20%;">失效日期:</td>
        <td style="width: 30%;">@Model.technology.LoseEfficacyTime?.ToString("yyyy-MM-dd")</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">有效性:</td>
        @if (Model.technology.Effectiveness == true) 
        {
            <td style="width: 30%;">有效</td>
        }
        else
        {
            <td style="width: 30%;">无效</td>
        }
        
        <td style="font-weight: Bold;width: 20%;">中文姓名:</td>
        <td style="width: 30%;">@Model.technology.CreateName</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">联系电话:</td>
        <td style="width: 30%;">@Model.technology.Telephone</td>
        <td style="font-weight: Bold;width: 20%;">所属部门:</td>
        <td style="width: 30%;">@Model.technology.AffiliationDepartment</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">产品类别:</td>
        <td style="width: 30%;">@Model.technology.ProductType</td>
        <td style="font-weight: Bold;width: 20%;">更改部位:</td>
        <td style="width: 30%;">@Model.technology.ChangeParts</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">Item:</td>
        <td style="width: 30%;">@Model.technology.Item</td>
        <td style="font-weight: Bold;width: 20%;">临时工艺文件名称:</td>
        <td style="width: 30%;">@Model.technology.TemporaryFileName</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">状态:</td>
        <td style="width: 30%;">@Model.technology.Status</td>
        <td style="font-weight: Bold;width: 20%;">申请日期:</td>
        <td style="width: 30%;">@Model.technology.CreateTime?.ToString("yyyy-MM-dd")</td>
    </tr>

    <tr>
        <td style="font-weight: Bold;width: 20%;">评审链接与结论:</td>
        <td colspan="3">@Model.technology.ReviewLinkAndConclusion</td>
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">文件内容:</td>
        <td colspan="3">@Model.technology.FileContent</td>
    </tr>

    <tr>
@*        <td style="font-weight: Bold;width: 20%;">请选择文件执行生产中心:</td>
        @if (Model.technology.DocumentExecutionProductionCenter != null)
        {
            string DocumentExecutionProduction = string.Empty;
            for (int i = 0; i < Model.technology.DocumentExecutionProductionCenter.Count; i++)
            {
                if (!string.IsNullOrWhiteSpace(DocumentExecutionProduction)) 
                {

                }
                else { }
            }
        }
        <td style="width: 30%;">@Model.technology.FileContent</td>*@
        <td style="font-weight: Bold;width: 20%;">请选择文件下发部门:</td>
        @if (Model.technology.FileDistributeDepartment.Count > 0) 
        {
            <td style="width: 30%;">@string.Join(",",Model.technology.FileDistributeDepartment)</td>
        }
        else
        {
            <td style="width: 30%;"></td>
        }
        
    </tr>
    <tr>
        <td style="font-weight: Bold;width: 20%;">更改有效截止日期:</td>
        <td style="width: 30%;">@Model.technology.ChangesEffectiveTime?.ToString("yyyy-MM-dd")</td>
        <td style="font-weight: Bold;width: 20%;">是否需要MC会签:</td>
        @if (Model.technology.IsMCCountersign == true) 
        {
            <td style="width: 30%;">是</td>
        }
        else
        {
            <td style="width: 30%;">否</td>
        }
        
    </tr>
</table>
